package unitPackage;
import itemPackage.*;

public abstract class APlayableUnit extends AUnit{

	public boolean equipItem(AEquipment equipItem, AEquipment desiredSlot)
	{
		String casteName = this.getCurrCaste().getCasteName();
		String slotName = desiredSlot.getName();
		
		if(equipItem.isEquippable(casteName, slotName))
			return true;
		
		return false;
	}
	
}
